Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use resolved context's Python for env diagnose if any #134

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

davidlatwe
Copy link
Collaborator

Problem

When the application context has it's own resolved Python and version is 2.x, environment diagnose will failed with "AttributeError: module 'enum' has no attribute 'IntFlag'" if Allzpark is running on Python 3.

Fix

When the application context has it's own resolved Python, use that Python instead of sys.executable.

Avoid "AttributeError: module 'enum' has no attribute
'IntFlag'", when resolved context has it's own python
that is incompat with current sys.executable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant